//定义全部接口返回数据公共字段
export interface ResponseData<T = any> {
  code: number
  message: string
  ok: boolean
  data: T
}

//定义分页接口
export interface PageResult<T = any> {
  current: number
  pages: number
  records: T[]
  searchCount: boolean
  size: number
  total: number
}
